import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import home from './modules/home'
import detectionInfo from './modules/detectionInfo'
import stall from './modules/stall'
import membershipList from './modules/membershipList'
import operating from './modules/operating'
import business from './modules/business'
import purchaseInfo from './modules/purchaseInfo'
import activity from './modules/activity'
import equipment from './modules/equipment'
import publicScreenInfo from './modules/publicScreenInfo'
import contract from './modules/contract'
import payment from './modules/payment'
import peopleNumber from './modules/peopleNumber'
import trace from './modules/trace'
import paymentItem from './modules/paymentItem'
import partition from './modules/partition'
import waterElectricMeter from "./modules/waterElectricMeter"
import businessReport from "./modules/businessReport"
import position from "./modules/position"
import pandora from "./modules/pandora"
import commodiSettle from "./modules/commodiSettle"
import Export from "./modules/Export"
import productMsg from "./modules/productMsg"
import businessPro from "./modules/businessPro"
import businessWeight from "./modules/businessWeight"
import yzpassword from "./modules/yzpassword"
import waterRecharge from "./modules/waterRecharge"

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    home,
    detectionInfo,
    stall,
    membershipList,
    operating,
    business,
    purchaseInfo,
    activity,
    equipment,
    publicScreenInfo,
    contract,
    payment,
    peopleNumber,
    trace,
    paymentItem,
    partition,
    waterElectricMeter,
    businessReport,
    position,
    pandora,
    commodiSettle,
    Export,
    productMsg,
    businessPro,
    businessWeight,
    yzpassword,
    waterRecharge
  },
  getters
});

export default store
